projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8371c58
)
(try_window_id): Fix a case where window_end_pos
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 25 Apr 2001 14:14:53 +0000
(14:14 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 25 Apr 2001 14:14:53 +0000
(14:14 +0000)
and window_end_bytepos were not adjusted.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 90a35eedafdac017e5ad15926087fb3f34ab7d9f..5fc7c5de47cd7f968c9776ad1f18c1361f64d2aa 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-11622,6
+11622,9
@@
try_window_id (w)
break;
w->window_end_vpos = make_number (vpos);
+ row = MATRIX_ROW (w->desired_matrix, vpos);
+ w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row));
+ w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row);
}
else
abort ();